package com.eduction.service.impl;

import java.sql.SQLException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eduction.modules.system.dao.SysValueRepository;
import com.eduction.modules.system.entity.SysValue;
import com.eduction.service.ISysValueService;

@Service
public class SysValueServiceImpl implements ISysValueService {

	@Autowired
	private SysValueRepository sysValueRepository;
	
	@Override
	public SysValue getSysValue(String pid) throws SQLException {
		SysValue sv = sysValueRepository.getSysValue(pid);
		return sv;
	}

	@Override
	public void updateSysValue(SysValue asv) throws SQLException {
		sysValueRepository.updateSysValue(asv);

	}

}
